/*!	 tool/joblistprocessor.h
**	 Synfig Tool Rendering Job List Processor Class
**
**	Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**	Copyright (c) 2007, 2008 Chris Moore
**	Copyright (c) 2009-2012 Diego Barrios Romero
**
**	This package is free software; you can redistribute it and/or
**	modify it under the terms of the GNU General Public License as
**	published by the Free Software Foundation; either version 2 of
**	the License, or (at your option) any later version.
**
**	This package is distributed in the hope that it will be useful,
**	but WITHOUT ANY WARRANTY; without even the implied warranty of
**	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
**	General Public License for more details.
**
*/

#ifndef __SYNFIG_JOBLISTPROCESSOR_H
#define __SYNFIG_JOBLISTPROCESSOR_H

#include <list>
#include <synfig/targetparam.h>
#include "job.h"

// / Process a Job list setting up and processing each job
void process_job_list(std::list<Job>& job_list,
                      const synfig::TargetParam& target_parameters);

// / Prepare a job to be processed
// / \return whether the preparation was OK or not
bool setup_job(Job& job, const synfig::TargetParam& target_parameters);

// / Process an individual job
void process_job(Job& job);

#endif // __SYNFIG_JOBLISTPROCESSOR_H